package com.zhiwei.codesecurity.common.enums;

public enum EncryptedModel {
    MD5_WITH_RSA("MD5withRSA", "md5签名和验签"),
    SHA1_WITH_RSA("SHA1withRSA", "sha1签名和验签"),
    RSA_CIPHER_ALGORITHM("RSA/ECB/PKCS1Padding", "加密模式"),
    AES_CIPHER_ALGORITHM("AES/ECB/PKCS5Padding", "aes填充模式"),
    RSA("RSA", "RSA加密"),
    AES("AES", "AES加密"),
    MD5("MD5", "MD5加密"),
    SHA_1("SHA-1", "SHA1加密"),
    //    SHA_224("SHA-224", "SHA1加密"),
    SHA_256("SHA-256", "SHA1加密"),
    SHA_384("SHA-384", "SHA1加密"),
    SHA_512("SHA-512", "SHA1加密"),
    HMAC_SHA256("HmacSHA256", "HmacSHA256加密"),
    HMAC_MD5("HmacMD5", "HmacMD5加密");


    EncryptedModel(String modeName, String describe) {
        this.modeName = modeName;
        this.describe = describe;
    }

    private String modeName;

    private String describe;

    public String getModeName() {
        return modeName;
    }

    public void setModeName(String modeName) {
        this.modeName = modeName;
    }


}
